package com.jiangyg.mall;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 类描述：服务启动类
 *
 * @author jiangyg
 * @version 1.0
 * @date 2023年06月14日
 */
@SpringBootApplication
@EnableDiscoveryClient
public class BusinessApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(BusinessApplication.class);
        app.setBannerMode(Banner.Mode.CONSOLE);
        app.run(args);
        System.out.println("业务服务启动完成！");
    }

}
